.class Lcom/instagram/android/maps/c/k;
.super Lcom/instagram/android/d/j/a;
.source "PhotoMapsEditHelper.java"


# instance fields
.field final synthetic a:Lcom/instagram/android/maps/c/d;


# direct methods
.method constructor <init>(Lcom/instagram/android/maps/c/d;)V
    .locals 0
    .parameter

    .prologue
    .line 131
    iput-object p1, p0, Lcom/instagram/android/maps/c/k;->a:Lcom/instagram/android/maps/c/d;

    invoke-direct {p0}, Lcom/instagram/android/d/j/a;-><init>()V

    return-void
.end method


# virtual methods
.method protected a(Lcom/instagram/android/d/j/j;)V
    .locals 4
    .parameter

    .prologue
    .line 161
    iget-object v0, p0, Lcom/instagram/android/maps/c/k;->a:Lcom/instagram/android/maps/c/d;

    invoke-static {v0}, Lcom/instagram/android/maps/c/d;->b(Lcom/instagram/android/maps/c/d;)Landroid/os/Handler;

    move-result-object v0

    const/4 v1, 0x0

    const-wide/16 v2, 0x3e8

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    .line 162
    return-void
.end method

.method protected a(Ljava/lang/Object;)V
    .locals 4
    .parameter

    .prologue
    const/4 v3, 0x1

    .line 134
    iget-object v0, p0, Lcom/instagram/android/maps/c/k;->a:Lcom/instagram/android/maps/c/d;

    invoke-static {v0}, Lcom/instagram/android/maps/c/d;->b(Lcom/instagram/android/maps/c/d;)Landroid/os/Handler;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    .line 138
    invoke-static {}, Lcom/instagram/android/maps/e/a;->a()Lcom/instagram/android/maps/e/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/maps/e/a;->k()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/model/g;

    .line 139
    invoke-static {}, Lcom/instagram/j/u;->a()Lcom/instagram/j/u;

    move-result-object v2

    invoke-virtual {v0}, Lcom/instagram/android/model/g;->g()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Lcom/instagram/j/u;->b(Ljava/lang/String;)Lcom/instagram/j/l;

    move-result-object v0

    .line 140
    if-eqz v0, :cond_0

    .line 141
    invoke-virtual {v0}, Lcom/instagram/j/l;->S()V

    goto :goto_0

    .line 145
    :cond_1
    invoke-static {}, Lcom/instagram/android/maps/e/a;->a()Lcom/instagram/android/maps/e/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/maps/e/a;->i()V

    .line 146
    const-string v0, "com.instagram.android.maps.manager.MapReviewed"

    invoke-static {v0}, Lcom/instagram/n/d;->a(Ljava/lang/String;)Z

    .line 148
    iget-object v0, p0, Lcom/instagram/android/maps/c/k;->a:Lcom/instagram/android/maps/c/d;

    invoke-static {v0, v3}, Lcom/instagram/android/maps/c/d;->a(Lcom/instagram/android/maps/c/d;Z)V

    .line 150
    iget-object v0, p0, Lcom/instagram/android/maps/c/k;->a:Lcom/instagram/android/maps/c/d;

    invoke-static {v0}, Lcom/instagram/android/maps/c/d;->c(Lcom/instagram/android/maps/c/d;)Lcom/instagram/android/maps/e/f;

    move-result-object v0

    sget-object v1, Lcom/instagram/android/maps/e/f;->b:Lcom/instagram/android/maps/e/f;

    if-ne v0, v1, :cond_2

    .line 151
    iget-object v0, p0, Lcom/instagram/android/maps/c/k;->a:Lcom/instagram/android/maps/c/d;

    invoke-static {v0}, Lcom/instagram/android/maps/c/d;->d(Lcom/instagram/android/maps/c/d;)Landroid/content/Context;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->your_map_is_now_ready:I

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 156
    :goto_1
    return-void

    .line 153
    :cond_2
    iget-object v0, p0, Lcom/instagram/android/maps/c/k;->a:Lcom/instagram/android/maps/c/d;

    invoke-static {v0}, Lcom/instagram/android/maps/c/d;->d(Lcom/instagram/android/maps/c/d;)Landroid/content/Context;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->changes_saved:I

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_1
.end method
